//package com.alibaba.csp.sentinel.dashboard.rule.nacos;
//
//import com.alibaba.cloud.sentinel.datasource.converter.JsonConverter;
//import com.alibaba.cloud.sentinel.datasource.factorybean.NacosDataSourceFactoryBean;
//import com.alibaba.csp.sentinel.slots.block.flow.param.ParamFlowRule;
//import com.alibaba.fastjson.JSON;
//import com.alibaba.fastjson.JSONArray;
//import com.alibaba.fastjson.JSONObject;
//import com.fasterxml.jackson.databind.ObjectMapper;
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.beans.factory.config.BeanPostProcessor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.Primary;
//import org.springframework.stereotype.Component;
//
//import java.util.ArrayList;
//import java.util.Collection;
//import java.util.List;
//
//@Configuration
//public class ConverterConfig {
//
//    @Bean("sentinel-json-param-flow-converter2")
//    @Primary
//    public JsonConverter jsonParamFlowConverter() {
//        return new FlowParamJsonConverter(new ObjectMapper(), ParamFlowRule.class);
//    }
//}
//
//
